package com.e3.basdoc.tax.server;

import com.e3.basdoc.tax.service.TaxQueryService;
import com.e3.basdoc.tax.service.TaxService;
import com.e3.core.base.ServiceLocator;

public class TaxServiceClient {
	
	private static TaxService taxService;
	
	private static TaxQueryService taxQueryService;
	
	public static TaxService getTaxService(){
		if(taxService == null){
			taxService = ServiceLocator.getService(TaxService.class);
		}
		return taxService;
	}
	
	public static TaxQueryService getTaxQueryService(){
		if(taxQueryService == null){
			taxQueryService = ServiceLocator.getQueryService(TaxQueryService.class);
		}
		return taxQueryService;
	}

}
